set(gd_opengl_device_files
)

set(gd_opengl_main_files
	defs.h
	dllmain.cpp
	Driver.cpp
	Driver.h
	gd_dx11.def
)

set(gd_opengl_primitives_files
)

set(gd_opengl_shaders_files
)

set(gd_opengl_vertices_files
)

set(gd_opengl_all_files
	${common_misc_files}
	${gd_opengl_device_files}
	${gd_opengl_main_files}
	${gd_opengl_primitives_files}
	${gd_opengl_shaders_files}
	${gd_opengl_vertices_files}
)

add_library(gd_opengl MODULE ${gd_opengl_all_files})
add_libs_target(gd_opengl)

target_link_libraries (gd_opengl core gd mem resource_manager utils) 

source_group(device FILES ${gd_opengl_device_files})
source_group(main FILES ${gd_opengl_main_files})
source_group(primitives FILES ${gd_opengl_primitives_files})
source_group(shaders FILES ${gd_opengl_shaders_files})
source_group(vertices FILES ${gd_opengl_vertices_files})

add_common_properties(gd_opengl)

set_target_properties (gd_opengl PROPERTIES
	LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})

install (TARGETS gd_opengl DESTINATION bin)
